﻿using System;

namespace Zzt.ExpertsCore.Domain.Entities
{
    public class MessageHistory : BaseRecordEntity
    {
        public int? ExpertId { get; set; }
        public virtual Expert Expert { get; set; }
        public int? PrincipleId { get; set; }
        public virtual Principle Principle { get; set; }
        /// <summary>
        /// 发送给用户的短信的状态响应
        /// </summary>
        public string Status { get; set; }
        /// <summary>
        /// 用户回复短信的时间
        /// </summary>
        public DateTimeOffset ReplyTime { get; set; }
        /// <summary>
        /// 用户上行回复短信的状态码
        /// </summary>
        public string ReplayCode { get; set; }
        /// <summary>
        /// 对于用户回复短信的处理结果
        /// </summary>
        public string StatusCode { get; set; }

        /// <summary>
        /// 消息类型： "Confirm": 确认参与短息； "Inform"：招标通知短信； "Review": 评议通知短信
        /// </summary>
        public string MessageType { get; set; }
    }
}
